home *** CD-ROM | disk | FTP | other *** search
- // Resource ReadMe
-
- /******************************************************************************
-
- Different from version 1.0 of CDEF Debugger. You now must have this code
- compiled and placed within your projects resource. This is what should be
- compiled...
-
- // be sure to include Universal Headers
-
- pascal long main( short variation, ControlHandle theControl, short msg, long param )
- {
-
- // get the UPP stored in the control's refCon
- ControlDefUPP cdefDefUPP = (ControlDefUPP)(**theControl).contrlRfCon;
-
- // now call the UPP with the parameters the toolbox sent ya
- return( CallControlDefProc( cdefDefUPP, variation, theControl, msg, param ));
-
- }
-
- I've provided the compiled version of this in the file called "Stub.r". Make
- sure this file is located within the project or this process of debugging will
- not work.
-
-
- ******************************************************************************/